<?php
/* Smarty version 3.1.34-dev-7, created on 2020-07-09 16:09:06
  from 'D:\php_demo\kindergarten\application\views\templates\home.html' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.34-dev-7',
  'unifunc' => 'content_5f06d0a2045ab9_72456959',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'b44df9a449c91f8367a13b97849390c25ab3672f' => 
    array (
      0 => 'D:\\php_demo\\kindergarten\\application\\views\\templates\\home.html',
      1 => 1594282075,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5f06d0a2045ab9_72456959 (Smarty_Internal_Template $_smarty_tpl) {
?><!DOCTYPE html>
<html>
	<head>
		<!-- 主页面 home -->
		<meta charset="utf-8">
		<meta name="renderer" content="webkit">
		<meta name="force-rendering" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<title>外国语幼儿园</title>
		<link rel="stylesheet" href="/css/app.css">
		<style type="text/css">
			.g-nav {
				position: absolute;
				left: 0;
				right: 0;
				background: rgba(0, 0, 0, 0.3)
			}

			.g-nav a {
				color: #fff
			}

			.g-nav .search .input {
				background: rgba(255, 255, 255, 0.3);
				color: #fff
			}
		</style>
		<?php echo '<script'; ?>
 src="/html/vue.js"><?php echo '</script'; ?>
>
		<?php echo '<script'; ?>
 src="https://cdn.staticfile.org/axios/0.18.0/axios.min.js"><?php echo '</script'; ?>
>
	</head>
	<body>
		<div id="app">
			<div class="g-topbar">
				<div class="layout clearfix">
					<div class="link">站点导航：<a href="#" target="_blank">学校首页</a><a href="#" target="_blank">辰育幼儿园</a></div>
					<div class="tool"></div>
				</div>
			</div>
			<div class="g-nav">
				<div class="layout">
					<div class="logo"><a href="/index.php/html_to/home"><img src="/images/logo.png"></a></div>
					<div class="menu">
						<a v-for="item in title1_arrs" :key="item.id" v-if="title1===item.id" :href="item.url" class="active">{{ item.value }}</a><a
						 v-else :href="item.url">{{ item.value }}</a>
						<!-- <a href="#" class="active">首页</a>
						<a href="#">园所介绍</a>
						<a href="#">万花筒</a>
						<a href="#">健康驿站</a>
						<a href="#">家园共育</a>
						<a href="#">联系我们</a> -->
					</div>
					<div class="search">
						<!-- <form> -->
						<input type="text" name="keyword" class="input">
						<input type="submit" value="搜索" class="btn">
						<!-- </form> -->
					</div>
				</div>
			</div>
			<div class="g-main" style="padding:0">
				<div class="m-slide">
					<div class="item" style="background-image:url(/images/slide1.jpg)"></div>
				</div>
				<div class="layout m-intro clearfix">
					<div class="left">
						<div class="m-hd">
							<h1 class="title"><span>园所介绍</span></h1>
						</div>
						<div class="info">十堰外国语幼儿园位于十堰外国语学校内，是一所高标准、高起点的精品幼儿园，本园隶属于十堰外国语学校，接受十堰外国语学校直接管理，依托学校强大的科研优势，使我园的孩子能够接受最先进的教育服务。我们拥有一支朝气蓬勃、爱岗敬业、教学经验丰富的专业教师队伍，其中本科学历占90%以上，达到了学科专业化标准。我们秉承着“一切为了孩子，为了孩子的一切，服务家长，服务社会”的宗旨，以团结，奋进，创新、奉献的精神，为孩子创设了一个健康、丰富、轻松、愉快的活动环境，并取得了一个又一个可喜的成绩。
						</div>
					</div>
					<div class="right"> <img src="http://ye.sy.sywgy.com/wp-content/uploads/sites/5/2017/03/tskc1.jpg"> </div>
				</div>
				<div class="m-shizi">
					<div class="layout clearfix">
						<div class="m-hd"><a href="/index.php/html_to/teacher_list" target="_blank" class="more">更多</a><span class="icon"></span>
							<h1 class="title"><span>师资力量</span></h1>
						</div>
						<div class="list">
							<!-- <div class="item">
								<div class="img"><img src="http://ye.sy.sywgy.com/wp-content/uploads/sites/5/2017/04/QQ%E5%9B%BE%E7%89%8720170424091017-450x600.jpg"></div>
								<div class="title">贺敏</div>
							</div>
							<div class="item">
								<div class="img"><img src="http://ye.sy.sywgy.com/wp-content/uploads/sites/5/2017/04/QQ%E5%9B%BE%E7%89%8720170424091017-450x600.jpg"></div>
								<div class="title">贺敏</div>
							</div>
							<div class="item">
								<div class="img"><img src="http://ye.sy.sywgy.com/wp-content/uploads/sites/5/2017/04/QQ%E5%9B%BE%E7%89%8720170424091017-450x600.jpg"></div>
								<div class="title">贺敏</div>
							</div>
							<div class="item">
								<div class="img"><img src="http://ye.sy.sywgy.com/wp-content/uploads/sites/5/2017/04/QQ%E5%9B%BE%E7%89%8720170424091017-450x600.jpg"></div>
								<div class="title">贺敏</div>
							</div>
							<div class="item">
								<div class="img"><img src="http://ye.sy.sywgy.com/wp-content/uploads/sites/5/2017/04/QQ%E5%9B%BE%E7%89%8720170424091017-450x600.jpg"></div>
								<div class="title">贺敏</div>
							</div> -->
							<!-- 循环五次 -->
							<div v-for="item in teacher_arrs" :key="item.id" class="item" v-on:click="go_teacher(item)">
								<div class="img"><img :src="item.title_url"></div>
								<div class="title">{{ item.name }}</div>
							</div>
						</div>
					</div>
				</div>
				<div class="m-kecheng">
					<div class="layout">
						<div class="hd">
							<div class="title"><a href="#" class="active">特色课程</a><span class="splite">/</span><a href="#">多彩活动</a><span
								 class="splite">/</span><a href="#">一日生活</a></div>
						</div>
						<div class="bd">
							<div class="bigpic clearfix">
								<!-- <div class="item">
									<img src="http://ye.sy.sywgy.com/wp-content/uploads/sites/5/2017/03/tskc1.jpg">
									<p class="title">特色英语课</p>
								</div>
								<div class="item">
									<img src="http://ye.sy.sywgy.com/wp-content/uploads/sites/5/2017/03/tskc1.jpg">
									<p class="title">特色英语课</p>
								</div> -->
								<div v-for="item in course1_arrs" :key="item.id" class="item" v-on:click="go_course(item)">
									<img :src="item.title_url">
									<p class="title">{{ item.name }}</p>
								</div>
							</div>
							<div class="smallpic clearfix">
								<div class="slide">
									<!-- <div class="item">
										<img src="http://sy.sywgy.com/wp-content/uploads/sites/2/2020/06/AB70865515E4B2BBD931E0DC287C5326-495x400.jpg">
										<div class="title">花样篮球</div>
									</div>
									<div class="item">
										<img src="http://sy.sywgy.com/wp-content/uploads/sites/2/2020/06/AB70865515E4B2BBD931E0DC287C5326-495x400.jpg">
										<div class="title">花样篮球</div>
									</div>
									<div class="item">
										<img src="http://sy.sywgy.com/wp-content/uploads/sites/2/2020/06/AB70865515E4B2BBD931E0DC287C5326-495x400.jpg">
										<div class="title">花样篮球</div>
									</div>
									<div class="item">
										<img src="http://sy.sywgy.com/wp-content/uploads/sites/2/2020/06/AB70865515E4B2BBD931E0DC287C5326-495x400.jpg">
										<div class="title">花样篮球</div>
									</div> -->
									<div v-for="item in course2_arrs" :key="item.id" class="item" v-on:click="go_course(item)">
										<img :src="item.title_url">
										<p class="title">{{ item.name }}</p>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="m-sheshi">
					<div class="layout clearfix">
						<div class="left">
							<div class="m-hd"><span class="icon"></span>
								<h1 class="title"><span>园所设施</span></h1>
							</div>
							<div class="info">
								十堰外国语国际幼儿园硬件设施高端齐全，教学设施设备先进，环境优美舒适。园内拥有超过20000平方米的教学、生活、户外活动空间，其中多功能大型玩具区、美术博物馆、中英文绘本馆、乐高建构馆、舞蹈形体馆和24小时恒温游泳池等设施，在鄂西北地区为我园所独有。
							</div>
						</div>
						<div class="right">
							<div class="img-big">
								<img :src="equipment_arrs[0].title_url" v-on:click="go_equipment(equipment_arrs[0])">
							</div>
							<div class="img-small clearfix">
								<div class="item">
									<img :src="equipment_arrs[1].title_url" v-on:click="go_equipment(equipment_arrs[1])">
								</div>
								<div class="item">
									<img :src="equipment_arrs[2].title_url" v-on:click="go_equipment(equipment_arrs[2])">
								</div>
								<div class="item">
									<img :src="equipment_arrs[2].title_url" v-on:click="go_equipment(equipment_arrs[3])">
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="m-newart">
					<div class="layout">
						<div class="bd clearfix">
							<!-- <div class="item">
								<div class="img"><a href="#" target="_blank"><img src="http://sy.sywgy.com/wp-content/uploads/sites/2/2020/06/AB70865515E4B2BBD931E0DC287C5326-495x400.jpg"></a></div>
								<div class="info"> <span class="time">2020-05-09</span>
									<div class="title"><a href="#" target="_blank">佳节同庆感父爱情深，端阳共度品文化传承</a></div>
								</div>
							</div>
							<div class="item">
								<div class="img"><a href="#" target="_blank"><img src="http://sy.sywgy.com/wp-content/uploads/sites/2/2020/06/AB70865515E4B2BBD931E0DC287C5326-495x400.jpg"></a></div>
								<div class="info"> <span class="time">2020-05-09</span>
									<div class="title"><a href="#" target="_blank">佳节同庆感父爱情深，端阳共度品文化传承</a></div>
								</div>
							</div>
							<div class="item">
								<div class="img"><a href="#" target="_blank"><img src="http://sy.sywgy.com/wp-content/uploads/sites/2/2020/06/AB70865515E4B2BBD931E0DC287C5326-495x400.jpg"></a></div>
								<div class="info"> <span class="time">2020-05-09</span>
									<div class="title"><a href="#" target="_blank">佳节同庆感父爱情深，端阳共度品文化传承</a></div>
								</div>
							</div>
							<div class="item">
								<div class="img"><a href="#" target="_blank"><img src="http://sy.sywgy.com/wp-content/uploads/sites/2/2020/06/AB70865515E4B2BBD931E0DC287C5326-495x400.jpg"></a></div>
								<div class="info"> <span class="time">2020-05-09</span>
									<div class="title"><a href="#" target="_blank">佳节同庆感父爱情深，端阳共度品文化传承</a></div>
								</div>
							</div>
							<div class="item">
								<div class="img"><a href="#" target="_blank"><img src="http://sy.sywgy.com/wp-content/uploads/sites/2/2020/06/AB70865515E4B2BBD931E0DC287C5326-495x400.jpg"></a></div>
								<div class="info"> <span class="time">2020-05-09</span>
									<div class="title"><a href="#" target="_blank">佳节同庆感父爱情深，端阳共度品文化传承</a></div>
								</div>
							</div>
							<div class="item">
								<div class="img"><a href="#" target="_blank"><img src="http://sy.sywgy.com/wp-content/uploads/sites/2/2020/06/AB70865515E4B2BBD931E0DC287C5326-495x400.jpg"></a></div>
								<div class="info"> <span class="time">2020-05-09</span>
									<div class="title"><a href="#" target="_blank">佳节同庆感父爱情深，端阳共度品文化传承</a></div>
								</div>
							</div> -->
							<!-- //循环六个 -->
							<div v-for="item in news_arrs" :key="item.id" class="item" v-on:click="go_news(item)">
								<div class="img"><a href="#" target="_blank"><img :src="item.title_url"></a></div>
								<div class="info"> <span class="time">{{ item.time }}</span>
									<div class="title"><a href="#" target="_blank">{{ item.title }}</a></div>
								</div>
							</div>

						</div>
					</div>
				</div>
				<div class="m-tel">
					<div class="layout">
						<div class="hd">招生热线</div>
						<div class="bd clearfix">
							<div class="tel">
								<p><span>学校办公室</span>0719-7717777</p>
								<p><span>幼儿园招生专线</span>0719-7718828</p>
							</div>
							<div class="ads">
								<p class="tit"><a href="/index.php/html_to/contact">学校地址</a></p>
								<p>十堰校区：湖北省十堰市人民南路61号</p>
								<p>郧阳校区：湖北省十堰市郧阳区长岭经济开发区十堰大道16号</p>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="g-footer">
				<div class="layout">
					<div class="logo"><img src="/images/foot-logo.png"></div>
					<div class="info">&copy; 版权 - 郧阳校区幼儿园 - 十堰外国语学校 | 鄂ICP备16022564号-1</div>
				</div>
			</div>
		</div>
		<?php echo '<script'; ?>
>
			var title1_arrs = [{
					id: 1,
					value: '首页',
					url: '/index.php/html_to/home'
				},
				{
					id: 2,
					value: '园所介绍',
					url: '/index.php/html_to/about'
				},
				{
					id: 3,
					value: '万花筒',
					url: '/index.php/html_to/article_list'
				},
				{
					id: 4,
					value: '健康驿站',
					url: '#'
				},
				{
					id: 5,
					value: '家园共育',
					url: '#'
				},
				{
					id: 6,
					value: '联系我们',
					url: '/index.php/html_to/contact'
				},
			];
		<?php echo '</script'; ?>
>
		<?php echo '<script'; ?>
 type="text/javascript">
			var app = new Vue({
				el: '#app',
				data: {
					message: 'Hello Vue!',
					name: "Vue",
					content: '<h1>222</h1>',
					title1: 1, //用于排列头部或者第二个头部
					title1_arrs: title1_arrs,
					teacher_arrs: [

					],
					news_arrs: [],
					course1_arrs: [],
					course2_arrs: [],
					equipment_arrs: []
				},
				methods: {
					click2: function(row) {
						var me = this;
					},
					click1: function() {
						console.log('click2......');
					},
					go_teacher(row) {
						console.log(row);
						//sessionStorage.setItem("teacher_id", row.id);
						window.location.href = "/index.php/html_to/teacher_detail?id=" + row.id;
					},
					go_news: function(row) {
						var me = this;
						console.log('click1......');
						console.log(row);
						//sessionStorage.setItem("new_id", row.id);
						window.location.href = "/index.php/html_to/article_detail?id=" + row.id;
					},
					go_course(row) {
						var me = this;
						window.location.href = "/index.php/html_to/course_detail?id=" + row.id;
					},
					go_equipment(row) {
						var me = this;
						window.location.href = "/index.php/html_to/equipment_detail?id=" + row.id;
					}
				},
				created: function() {
					var me = this;
					me.title1 = 1;

					//获取老师信息
					//获取数据库
					axios.get('/index.php/server/frontdesk/get_teachers', {
							params: {
								page: 1,
								limit: 5
							}
						})
						.then(function(response) {
							console.log(response);
							me.teacher_arrs = response.data;
						})
						.catch(function(error) { // 请求失败处理
							//console.log(error);
						});

					axios.get('/index.php/server/frontdesk/get_newss', {
							params: {
								page: 1,
								limit: 6
							}
						})
						.then(function(response) {
							console.log(response);
							me.news_arrs = response.data;
						})
						.catch(function(error) { // 请求失败处理
							//console.log(error);
						});

					axios.get('/index.php/server/frontdesk/get_table_arrs', {
							params: {
								table: 'course',
								page: 1,
								limit: 6
							}
						})
						.then(function(response) {
							console.log(response);
							me.course1_arrs = response.data.slice(0, 2);
							me.course2_arrs = response.data.slice(2, 6);
							console.log(me.course1_arrs);
							console.log(me.course2_arrs);
						})
						.catch(function(error) { // 请求失败处理
							//console.log(error);
						});

					axios.get('/index.php/server/frontdesk/get_table_arrs', {
							params: {
								table: 'equipment',
								page: 1,
								limit: 4
							}
						})
						.then(function(response) {
							console.log(response);
							me.equipment_arrs = response.data;
						})
						.catch(function(error) { // 请求失败处理
							//console.log(error);
						});
				}
			});
		<?php echo '</script'; ?>
>
	</body>
</html>
<?php }
}
